package com.zzld.modules.autoinn.entity;

import java.util.Date;
import javax.persistence.*;

@Table(name = "zzld_autoinn_collect")
public class Collect {
    /**
     * id主键
     */
    @Id
    @Column(name = "collect_id")
    private String collectId;

    /**
     * 用户id
     */
    @Column(name = "customer_id")
    private String customerId;

    /**
     * 店铺id
     */
    private String id;

    /**
     * 店铺收藏状态
     */
    @Column(name = "collect_state")
    private Integer collectState;

    /**
     * 创建时间
     */
    @Column(name = "create_data")
    private Date createData;



    /**
     * 用户标识
     */
    private String openid;

    /**
     * 获取id主键
     *
     * @return collect_id - id主键
     */
    public String getCollectId() {
        return collectId;
    }

    /**
     * 设置id主键
     *
     * @param collectId id主键
     */
    public void setCollectId(String collectId) {
        this.collectId = collectId;
    }

    /**
     * 获取用户id
     *
     * @return customer_id - 用户id
     */
    public String getCustomerId() {
        return customerId;
    }

    /**
     * 设置用户id
     *
     * @param customerId 用户id
     */
    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    /**
     * 获取店铺id
     *
     * @return id - 店铺id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置店铺id
     *
     * @param id 店铺id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取店铺收藏状态
     *
     * @return collect_state - 店铺收藏状态
     */
    public Integer getCollectState() {
        return collectState;
    }

    /**
     * 设置店铺收藏状态
     *
     * @param collectState 店铺收藏状态
     */
    public void setCollectState(Integer collectState) {
        this.collectState = collectState;
    }

    /**
     * 获取创建时间
     *
     * @return create_data - 创建时间
     */
    public Date getCreateData() {
        return createData;
    }

    /**
     * 设置创建时间
     *
     * @param createData 创建时间
     */
    public void setCreateData(Date createData) {
        this.createData = createData;
    }


    /**
     * 获取用户标识
     *
     * @return openid - 用户标识
     */
    public String getOpenid() {
        return openid;
    }

    /**
     * 设置用户标识
     *
     * @param openid 用户标识
     */
    public void setOpenid(String openid) {
        this.openid = openid;
    }
}